﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Model.Interfaces;
using Model.Helpers;
using System.ComponentModel.DataAnnotations;

namespace Model.Entities
{
    public class Publication
    {
        [Key]
        public int PublicationID { get; set; }
        [StringLength(200)]
        public String Title { get; set; }
        [StringLength(200)]
        public String Description { get; set; }
        public IPublicationType PublicationType { get; set; }
        public PublicationScope PublicationScope { get; set; }
        public UserVehicle UserVehicle { get; set; }
        public Distance MaxDistance { get; set; }
        public ICollection<IPublicationRule> PublicationRules { get; set; }
    }
}
